export default {
  setSideMenuHide (state) {
    state.showSideMenu = 0
  },
  setSideMenuShow (state) {
    state.showSideMenu = 1
  },
  setToken (state, token) {
    state.token = token
  },
  keepAccount (state) {
    state.keepAccount = !state.keepAccount
  },
  saveLoginInfo (state, loginInfo) {
    state.loginInfos.push(loginInfo)
  }
}
